package com.mingmen.supplier.model;

import java.util.List;

public class NoticeModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-09-01 13:17:37
     * data : [{"title":"111","picture":"/uploadimg/2020-09-01/b37cf1c0-2786-43be-b26d-bb32751d5de5.jpeg","content":"公告内容","createDate":"2020-09-01 13:12:35","id":"1300662819192315904"},{"title":"112","picture":"/uploadimg/2020-09-01/816a0ec6-e16c-4880-99d8-d33edf0f9275.jpeg","content":"公告内容","createDate":"2020-09-01 13:16:21","id":"1300663764223533056"}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;
    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    int totalPage;
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 111
         * picture : /uploadimg/2020-09-01/b37cf1c0-2786-43be-b26d-bb32751d5de5.jpeg
         * content : 公告内容
         * createDate : 2020-09-01 13:12:35
         * id : 1300662819192315904
         */

        private String title;
        private String picture;
        private String content;
        private String createDate;
        private String id;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }
}
